package com.yh.javabean;

/**
 * @Auther: Liang
 * @Date: 2024/5/9 - 05 - 09 - 14:37
 * @Description: com.yh.javabean
 * @version: 1.0
 */
public class Student {
    private String sid;
    private String sname;
    private int sage;

    public Student() {
    }

    public Student(String sid, String sname, int sage) {
        this.sid = sid;
        this.sname = sname;
        this.sage = sage;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getSage() {
        return sage;
    }

    public void setSage(int sage) {
        this.sage = sage;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", sname='" + sname + '\'' +
                ", sage=" + sage +
                '}';
    }
}
